Skip to content

Conversation

@mickael-menu
Copy link
Member

@mickael-menu mickael-menu commented Jan 13, 2023

Added

Navigator

  • New EPUBNavigatorFragment.Configuration.useReadiumCssFontSize option to revert to the 2.2.0 strategy for setting the font size of reflowable EPUB publications.
    • The native font size strategy introduced in 2.3.0 uses the Android web view's WebSettings.textZoom property to adjust the font size. 2.2.0 was using Readium CSS's --USER__fontSize variable.
    • WebSettings.textZoom will work with more publications than --USER__fontSize, even the ones poorly authored. However the page width is not adjusted when changing the font size to keep the optimal line length.

@mickael-menu mickael-menu requested a review from qnga January 13, 2023 12:20
@mickael-menu mickael-menu merged commit df8b8d0 into develop Jan 18, 2023
@mickael-menu mickael-menu deleted the epub-font-size branch January 18, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants